package com.zxt.content.copywriting.model;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author zxt
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@TableName("all_copywriting_type_relation")
public class CopywritingTypeRelation {

    public static final LambdaQueryWrapper<CopywritingTypeRelation> gw() {
        return new LambdaQueryWrapper<>();
    }

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 文案id
     */
    @TableField(value = "copywriting_id")
    private Long copywritingId;

    /**
     * 类型id
     */
    @TableField(value = "type_id")
    private Long typeId;

    /**
     * 是否公共
     */
    @TableField(value = "is_public")
    private Boolean isPublic;

    /**
     * -------------------------------------------------
     * 上面字段由工具自动生成，请在下面添加扩充字段
     * -------------------------------------------------
     */


}
